package com.cs.demo;


import javafx.application.Application;
import javafx.scene.Scene;
import javafx.scene.web.WebEngine;
import javafx.scene.web.WebView;
import javafx.stage.Stage;

/**
 * @author yaochenglong
 * @version V1.0
 * @date 2020/9/7 15:00
 * @DESC
 */

/**
 * @author yaochenglong
 * @version V1.0
 * @date 2020/9/7 15:39
 * @DESC
 */
public class Bowers extends Application {

	@Override
	public void start(Stage primaryStage) throws Exception {
		WebView webView = new WebView();
		WebEngine webEngine = webView.getEngine();
		webEngine.load("http://www.jd.com");
		primaryStage.setTitle("我的浏览器");
		primaryStage.setScene(new Scene(webView, 1270, 860));
		primaryStage.show();
	}

	public static void main(String[] args) {
		launch(args);
	}
}
